package cn.kgc.airmanage.demo.service;


import cn.kgc.airmanage.demo.pojo.Airqualityindex;
import cn.kgc.airmanage.demo.pojo.Viewdistrictair;
import com.github.pagehelper.PageInfo;

public interface AirqualityService {

    /*分页查询空气质量*/
    public PageInfo<Viewdistrictair> SelectAllBydistrictId(Integer districtid, Integer pageNum, Integer PageSize);
    /*根据编号查询单个*/
    public Airqualityindex SelectByid(Integer id);
    /*修改*/
    public int UpdateAir(Airqualityindex airqualityindex);
    /*添加*/
    public int AddAir(Airqualityindex airqualityindex);
    /*删除*/
    public int DeleteAir(Integer id);
}
